package net.sinodata.smartframework.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * Description: 线程池实体类
 * 
 * @author: zhangyang yinliangyun
 * @date: 2021-5-18
 */
public class QueueThreadPool implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@TableId(type=IdType.AUTO)
	private Integer id;
	
	private String queueName;
	
	private String queueCode;
	
	private Integer threadSize;
	
	private Integer waitTime;
	
	private String queueClass;
	
	private String runStartTime;
	
	private String runEndTime;
	
	private String flagExpress;
	
	private String remark;
	
	@TableField(fill = FieldFill.INSERT)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date createTime;
	
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getQueueName() {
		return queueName;
	}

	public void setQueueName(String queueName) {
		this.queueName = queueName;
	}

	public String getQueueCode() {
		return queueCode;
	}

	public void setQueueCode(String queueCode) {
		this.queueCode = queueCode;
	}

	public Integer getThreadSize() {
		return threadSize;
	}

	public void setThreadSize(Integer threadSize) {
		this.threadSize = threadSize;
	}

	public Integer getWaitTime() {
		return waitTime;
	}

	public void setWaitTime(Integer waitTime) {
		this.waitTime = waitTime;
	}

	public String getQueueClass() {
		return queueClass;
	}

	public void setQueueClass(String queueClass) {
		this.queueClass = queueClass;
	}

	public String getRunStartTime() {
		return runStartTime;
	}

	public void setRunStartTime(String runStartTime) {
		this.runStartTime = runStartTime;
	}

	public String getRunEndTime() {
		return runEndTime;
	}

	public void setRunEndTime(String runEndTime) {
		this.runEndTime = runEndTime;
	}

	public String getFlagExpress() {
		return flagExpress;
	}

	public void setFlagExpress(String flagExpress) {
		this.flagExpress = flagExpress;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "QueueThreadPool [id=" + id + ", queueName=" + queueName + ", queueCode=" + queueCode
				+ ", threadSize=" + threadSize + ", waitTime=" + waitTime + ", queueClass=" + queueClass
				+ ", runStartTime=" + runStartTime + ", runEndTime=" + runEndTime + ", flagExpress=" + flagExpress
				+ ", remark=" + remark + ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}

}
